package com.api.main.config;

import com.element.security.single.service.IGrantTypeService;
import org.springframework.stereotype.Component;

import java.util.HashSet;
import java.util.Set;

@Component(value = "grantTypeService")
public class GrantTypeEnum implements IGrantTypeService {

    @Override
    public Set<String> grantType() {
        Set<String> list = new HashSet<>();
        list.add("code");
        return list;
    }
}